unit CadastrarCapile;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, XPMan, Menus, DB, ADODB, ExtCtrls, DBCtrls, Mask;

type
  TfCapile = class(TForm)
    MainMenu1: TMainMenu;
    File1: TMenuItem;
    Fechar1: TMenuItem;
    Cadastro1: TMenuItem;
    Usurio1: TMenuItem;
    Jogador1: TMenuItem;
    LimiteDbito1: TMenuItem;
    Ficha1: TMenuItem;
    Capil1: TMenuItem;
    Fechamento1: TMenuItem;
    DevoluodeFicha1: TMenuItem;
    orneio1: TMenuItem;
    RingGame1: TMenuItem;
    Sair1: TMenuItem;
    XPManifest1: TXPManifest;
    ADOCapile: TADOConnection;
    TableCapile: TADOTable;
    TableCapileCapile: TBCDField;
    Label1: TLabel;
    DBEdit1: TDBEdit;
    DataCapile: TDataSource;
    DBNavigator1: TDBNavigator;
    procedure LimiteDbito1Click(Sender: TObject);
    procedure Sair1Click(Sender: TObject);
    procedure Fechar1Click(Sender: TObject);
    procedure Ficha1Click(Sender: TObject);
    procedure Usurio1Click(Sender: TObject);
    procedure Jogador1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fCapile: TfCapile;

implementation

uses Devolucao, CadastrarLimite, EntradaFichas, CadastrarUsuario,
  CadastrarJogador;

{$R *.dfm}

procedure TfCapile.LimiteDbito1Click(Sender: TObject);
begin
fLimite.show;
fCapile.Visible := false;
end;

procedure TfCapile.Sair1Click(Sender: TObject);
begin
Application.Terminate;
end;

procedure TfCapile.Fechar1Click(Sender: TObject);
begin
Application.Terminate;
end;

procedure TfCapile.Ficha1Click(Sender: TObject);
begin
fFichas.show;
fCapile.Visible := false;
end;

procedure TfCapile.Usurio1Click(Sender: TObject);
begin
fUsuario.show;
fCapile.Visible := false;
end;

procedure TfCapile.Jogador1Click(Sender: TObject);
begin
fJogador.show;
fCapile.Visible := false;
end;

end.
